package com.woniu.cms.client.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 本表是记录每个竞争对手在每次投标中的表现，注意和cms_client_competitor，竞争对手基本信息表区分开
 * </p>
 *
 * @author chenjiapeng
 * @since 2022-09-23
 */
@Getter
@Setter
  @TableName("cms_client_bidcompetitor")
@ApiModel(value = "ClientBidcompetitor对象", description = "本表是记录每个竞争对手在每次投标中的表现，注意和cms_client_competitor，竞争对手基本信息表区分开")
public class ClientBidcompetitor implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("投标竞争对手表现表")
        @TableId(value = "bidcompetitor_id", type = IdType.AUTO)
      private Integer bidcompetitorId;

      @ApiModelProperty("投标项目名称")
      private String tenderProjectName;

      @ApiModelProperty("单位名称")
      private String bidcompetitorName;

      @ApiModelProperty("是否中标(0-未中标，1-已中标)")
      private Integer isWinBid;

      @ApiModelProperty("降点（%）")
      private String dropPoint;

      @ApiModelProperty("报价")
      private BigDecimal offerPrice;

      @ApiModelProperty("名次")
      private Integer rank;

      @ApiModelProperty("地点")
      private String location;

      @ApiModelProperty("运营商")
      private String operater;

      @ApiModelProperty("专业")
      private String profession;

      @ApiModelProperty("外键，投标结果更新表的主键")
      private Integer bidResultId;

      @ApiModelProperty("投标者个数")
      private BigDecimal bidCount;

      @ApiModelProperty("中标者个数")
      private BigDecimal bidWinnerCount;

      @ApiModelProperty("实际中标金额")
      private BigDecimal realBidAmount;

      @ApiModelProperty("标的总额（=项目总投资）")
      private BigDecimal totalInvestment;


}
